package com.example.redistest.ThreadDemo;

public class Processor1 implements Runnable {

    @Override
    public void run() {
        Thread thread = Thread.currentThread();
        System.out.println(thread.getName());
        System.out.println(thread.getId());
    }
}
